package com.learn.entity;

        import java.io.Serializable;
        import java.util.Date;
        import com.learn.service.*;



/**
 * 借阅记录
 *
 
 *  
 */
public class RecordEntity implements Serializable {
    private static final long serialVersionUID = 1L;

            //
                    private Long id;
        
            //产品
                    private Long book;

            private  BookEntity  bookEntity;

            public BookEntity getBookEntity() {
                return bookEntity;
            }

            public void setBookEntity(BookEntity bookEntity) {
                this.bookEntity = bookEntity;
            }
        
            //借阅人
                    private Long user;

            private SysUserEntity sysUserEntity;

            public SysUserEntity getSysUserEntity() {
                return sysUserEntity;
            }

            public void setSysUserEntity(SysUserEntity sysUserEntity) {
                this.sysUserEntity = sysUserEntity;
            }

        
            //借阅时间
                    private Date begin;
        
            //应归还时间
                    private Date end;
        
            //实际归还时间
                    private Date send;
        
            //状态
                    private String state;
        
            //罚款信息
                    private String money;
        
            //添加时间
                    private Date gmttime =new  Date();
        
    
            /**
         * 设置：
         */
        public void setId(Long id) {
            this.id = id;
        }

        /**
         * 获取：
         */
        public Long getId() {
            return id;
        }
            /**
         * 设置：产品
         */
        public void setBook(Long book) {
            this.book = book;
        }

        /**
         * 获取：产品
         */
        public Long getBook() {
            return book;
        }
            /**
         * 设置：借阅人
         */
        public void setUser(Long user) {
            this.user = user;
        }

        /**
         * 获取：借阅人
         */
        public Long getUser() {
            return user;
        }
            /**
         * 设置：借阅时间
         */
        public void setBegin(Date begin) {
            this.begin = begin;
        }

        /**
         * 获取：借阅时间
         */
        public Date getBegin() {
            return begin;
        }
            /**
         * 设置：应归还时间
         */
        public void setEnd(Date end) {
            this.end = end;
        }

        /**
         * 获取：应归还时间
         */
        public Date getEnd() {
            return end;
        }
            /**
         * 设置：实际归还时间
         */
        public void setSend(Date send) {
            this.send = send;
        }

        /**
         * 获取：实际归还时间
         */
        public Date getSend() {
            return send;
        }
            /**
         * 设置：状态
         */
        public void setState(String state) {
            this.state = state;
        }

        /**
         * 获取：状态
         */
        public String getState() {
            return state;
        }
            /**
         * 设置：罚款信息
         */
        public void setMoney(String money) {
            this.money = money;
        }

        /**
         * 获取：罚款信息
         */
        public String getMoney() {
            return money;
        }
            /**
         * 设置：添加时间
         */
        public void setGmttime(Date gmttime) {
            this.gmttime = gmttime;
        }

        /**
         * 获取：添加时间
         */
        public Date getGmttime() {
            return gmttime;
        }
    }
